import {
    request
} from "./request";
import qs from "qs";

//  添加公告
export function addNotice(obj) {
    return request({
        url: "scSystem/addNotice",
        method: "post",
        data: qs.stringify(obj),
    });
}

//  获取所有公告
export function listNotice(obj) {
    return request({
        url: "scSystem/listNotice",
        method: "post",
        data: qs.stringify(obj),
    });
}
//  修改公告状态
export function releaseNotice(obj) {
    return request({
        url: "scSystem/releaseNotice",
        method: "post",
        data: qs.stringify(obj),
    });
}
//  审核公告
export function reviewNotice(obj) {
    return request({
        url: "scSystem/reviewNotice",
        method: "post",
        data: qs.stringify(obj),
    });
}